<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div id="menuEditModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">
					<i class="mark"></i> 
					<span>新增修改菜单</span>
				</h4>
			</div>
			<div class="modal-body">
				<form class="form-horizontal">
					<div class="form-group">
						<label class="col-sm-2 control-label">菜单名称:</label>
						<div class="col-sm-10">
							<input type="text" class="form-control input-sm" ng-model="submitMenu.menuName" required placeholder="">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">Path:</label>
						<div class="col-sm-10">
							<input type="text" class="form-control input-sm" ng-model="submitMenu.menuPath" required placeholder="">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">所属权限:</label>
						<div class="col-sm-10">
							<div class="input-group">
								<label id="privName" class="control-label" ng-bind="privName"></label>
								<span class="input-group-btn">
									<button class="btn btn-sm btn-blue" data-toggle="modal"
										data-target="#selectPrivilegeModal">选择</button>
								</span>
							</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">上级目录:</label>
						<div class="col-sm-10">
							<div class="input-group">
								<p class="form-control-static" ng-bind="parentMenuName"></p>
								<span class="input-group-btn">
									<button class="btn btn-sm btn-blue" data-toggle="modal"
										data-target="#selectParentMenuModal">选择</button>
								</span>
							</div>
						</div>
					</div>
				</form>
			</div>
			<div class="modal-footer">
				<div class="modal-footer-button">
					<button type="button" class="btn btn-sm btn-default" data-dismiss="modal">取消</button>
					<button type="submit" class="btn btn-sm btn-blue" ng-click="addMenu()">确认</button>
				</div>
			</div>
		</div>
	</div>
</div>